﻿#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>

typedef double Real;


typedef struct
{
	int n;
}Context;
Context context;

void read_data(Context* ctx)
{
	scanf("%d", &ctx->n);
}  
void solve(Context* ctx)
{
	int k = 0;
	int b;
	scanf("%d", &k);
	for (int i = 1; i < ctx->n; ++i)
	{
		scanf("%d", &b);
		if (b < k)
			k = b;
	}
	printf("min = %d\n", k);
}

int main()
{
	freopen("D:/Develop/GitRepos/MOOC/浙江大学/数据结构/201906/DataStructure/M2019秋C入门和进阶练习集/7-171.txt", "r", stdin);
	read_data(&context);
	solve(&context);
	return 0;
}
